$(function(){
	$.ajax({
			type: "post",
			url: "http://a.91jfk.com/Product/Order/old_list",
			data: {
				
			},
			dataType: 'json',
			success: function(res) {
				console.log(res);
				for(var i = 0; i < res.length;i++){
					old_list(res[i].pic,res[i].create_time,res[i].nickname,res[i].id,res[i].num);
				}
			},
			error: function(err) {
				console.log(err)
			}
		});
		
		
		function old_list(src,time,name,id,num){
			var announce_content = $(".announce_content");
			var list = $('<div class="announce_list"><p class="time">揭晓时间:' + time + '</p><div class="photo"><img src="' + src + '" style="height: 1.546666rem;width: 1.546666rem;"/></div><div class="info"><p>获得者:' + name + '</p><p>用户ID：' + id + '(唯一不变的标识)</p><p>本期参与：' + num + '人次</p></div></div>');
			announce_content.append(list);
		}
})
